import{_ as t}from"./_tslib-BJsnFhs2.mjs";import{_decorator as e}from"cc";import{playable as n,InstallType as o}from"./Playable.mjs";import r from"./GameConfigManager.mjs";import{InduceAction as c}from"./InduceAction.mjs";import"cc/env";import"./EventSystemObject.mjs";import"./EventSystem.mjs";import"./WebAudioManager.mjs";import"./EventSystemStaticObject.mjs";const{ccclass:i,property:s,menu:a}=e;let m=class extends c{onUpdateInduceLabelCondition(){const t=r.configValue.playAgain;return-1!=t&&n.retryCount>=t}onButtonClicked(){const t=r.configValue.playAgain;n.retryCount<t?n.restartGame():n.install(n.isInduce?o.Induce:o.None)}};m=t([i("InduceRetryAction"),a("UI/InduceRetryAction")],m);export{m as InduceRetryAction};
